<%@ page language="java"
import="java.util.*,com.wechat.service.WechatService,
com.base.bean.*,com.base.dao.*,com.base.service.*,tool.*"
pageEncoding="UTF-8"%>

<%
    //注意生成注入对象的时候 一定要去掉端口号
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() +  path + "/";
%>

<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json" %>  

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">

<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/main.css">    
<script src="lib/jquery-2.1.1.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
<title>HIFO--行动管理</title>

<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script><% //=ws.wxConfig(url) %></script>

<script type="text/javascript">
function tijiao(){
	//$("#opType").val(2);	
	//document.form1.submit();
};

</script>
</head>
<body>


           
<!-- #################基本信息 START ###################  -->
 

<!-- 隐藏数据域 -->
<div class="input-group ">
<input type="text" class="form-control" name="openId" readonly="readonly" value="" >

<button class="form-control btn btn_primary" id="checkJsApi">checkJsApi</button>
<button class="form-control btn btn_primary" id="chooseImage">chooseImage</button>
<button class="form-control btn btn_primary" id="uploadImage">uploadImage</button>
<button class="form-control btn btn_primary" id="previewImage">previewImage</button>

</div>



</body>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<%
WechatService ws = WechatService.getInstance();
String url = basePath + "imgtest.jsp";
%>
<script><%=ws.wxConfig(url) %></script>
<script src="js/gps.js">
</script>
</html>